/**   
* @Title: QuartzEntity.java
* @Package org.xaoyaoyao.cloud.job.entity
* @Description: TODO
* @author xaoyaoyao
* @date Feb 11, 2019 3:53:30 PM
* @version V1.0   
*/
package org.xaoyaoyao.cloud.job.entity;

import java.io.Serializable;

import lombok.Data;
import lombok.ToString;

/**
 * @ClassName: QuartzEntity
 * @Description: TODO
 * @author xaoyaoyao
 * @date Feb 11, 2019 3:53:30 PM
 * 
 */
@Data
@ToString
public class QuartzEntity implements Serializable {

	private static final long serialVersionUID = -6820041669623614042L;

	/** 任务名称 **/
	private String jobName;

	/** 任务分组 **/
	private String jobGroup;

	/** 任务描述 **/
	private String description;

	/** 执行类 **/
	private String jobClassName;

	/** 执行时间 **/
	private String cronExpression;

	/** 执行时间 **/
	private String triggerName;

	/** 任务状态 **/
	private String triggerState;

	/** 任务名称 用于修改 **/
	private String oldJobName;

	/** 任务分组 用于修改 **/
	private String oldJobGroup;

	public QuartzEntity() {
		super();
	}

	public QuartzEntity(String jobName, String jobGroup, String description, String jobClassName, String cronExpression, String triggerName) {
		super();
		this.jobName = jobName;
		this.jobGroup = jobGroup;
		this.description = description;
		this.jobClassName = jobClassName;
		this.cronExpression = cronExpression;
		this.triggerName = triggerName;
	}

}
